package com.dime.basic.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 危害因素管理对象 dime_baseharm
 *
 * @author Tiny
 * @date 2023-09-13
 */
public class DimeBaseharm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    public List<String> getHamTypedetailsList() {
        return hamTypedetailsList;
    }

    public void setHamTypedetailsList(List<String> hamTypedetailsList) {
        this.hamTypedetailsList = hamTypedetailsList;
    }

    /** 项目细项中间信息 */
    private List<String> hamTypedetailsList;

    /** 体检类型 */
    @Excel(name = "体检类型")
    private String physicalType;

    /** 危害编码 */
    @Excel(name = "危害编码")
    private String hamrCode;

    /** 危害名称 */
    @Excel(name = "危害名称")
    private String hamName;

    /** 危害类别 */
    @Excel(name = "危害类别")
    private String hamType;

    /** 危害说明 */
    @Excel(name = "危害说明")
    private String hamExplan;

    /** 危害建议 */
    @Excel(name = "危害建议")
    private String hamSuggestion;

    /**  */
    @Excel(name = "")
    private Integer IsValid = 1;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setPhysicalType(String physicalType)
    {
        this.physicalType = physicalType;
    }

    public String getPhysicalType()
    {
        return physicalType;
    }
    public void setHamrCode(String hamrCode)
    {
        this.hamrCode = hamrCode;
    }

    public String getHamrCode()
    {
        return hamrCode;
    }
    public void setHamName(String hamName)
    {
        this.hamName = hamName;
    }

    public String getHamName()
    {
        return hamName;
    }
    public void setHamType(String hamType)
    {
        this.hamType = hamType;
    }

    public String getHamType()
    {
        return hamType;
    }
    public void setHamExplan(String hamExplan)
    {
        this.hamExplan = hamExplan;
    }

    public String getHamExplan()
    {
        return hamExplan;
    }
    public void setHamSuggestion(String hamSuggestion)
    {
        this.hamSuggestion = hamSuggestion;
    }

    public String getHamSuggestion()
    {
        return hamSuggestion;
    }
    public void setIsValid(Integer IsValid)
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid()
    {
        return IsValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("physicalType", getPhysicalType())
            .append("hamrCode", getHamrCode())
            .append("hamName", getHamName())
            .append("hamType", getHamType())
            .append("hamExplan", getHamExplan())
            .append("hamSuggestion", getHamSuggestion())
            .append("hamTypedetailsList", getHamTypedetailsList())
            .append("IsValid", getIsValid())
            .toString();
    }
}
